home *** CD-ROM | disk | FTP | other *** search
/ Robotics & Artificial Int…3 (Professional Edition) / Robotics & Artificial Intelligence Tools 2003 (Professional Edition).iso / neural network tool and application / nsinstall.exe / data1.cab / Demos_Files / Unsupervised_Learning / Creating data clusters.nsm < prev    next >
Encoding:
Text File  |  2002-03-08  |  1.8 KB  |  49 lines

  1. subtitleTextBox. setText ("")
  2. mainTextBox. setText ("")
  3.  
  4. activeBreadboard. setAnimatePoint ( 20 , 200 )
  5. activeBreadboard. stampAndMove ( "Axon" , "inputAxon" )
  6. inputAxon. setRows ( 2 )
  7.  
  8. activeBreadboard. stampOnAndMove ( "Function" , "inputAxon" )
  9. function. setActiveAccessPoint ( "Pre-Activity" )
  10. function. setDataSource ( "SquareWaveFunction" )
  11. function. setSamples ( 2 )
  12.  
  13. activeBreadboard. stampOnAndMove ( "Noise" , "function" )
  14. noise. setVariance ( 0.150000 )
  15.  
  16. activeBreadboard. setAnimatePoint ( 15 , 175 )
  17. activeBreadboard. stampAndMove ( "StaticControl" , "control" )
  18.  
  19. activeBreadboard. stampOnAndMove ( "DataStorage" , "inputAxon" )
  20. dataStorage. setBufferLength ( 100 )
  21. dataStorage. setMessageEvery ( 100 )
  22.  
  23. activeBreadboard. stampOnAndMove ( "ScatterPlot" , "dataStorage" )
  24. scatterPlot. setName ( "activeInputProbe" )
  25. activeInputProbe. setXMinScale ( -1.500000 )
  26. activeInputProbe. setXMaxScale ( 1.500000 )
  27. activeInputProbe. setYMinScale ( -1.500000 )
  28. activeInputProbe. setYMaxScale ( 1.500000 )
  29. activeInputProbe. tileWindow (1,4,3,3)
  30.  
  31. activeBreadboard. lockWindowUpdate()
  32. CreateLargeButtonMacroPath = macro. pathFromNS ( "Macros\create large button.nsm" )
  33. activeBreadboard. runMacro ( CreateLargeButtonMacroPath )
  34. controlButton. setText ( "Step Epoch" )
  35. controlButton. moveTo ( 630 , 55 )
  36. ControlMacroPath = macro. pathFromNS ( "Macros\stepEpoch.nsm" )
  37. controlButton. setMacroPath ( ControlMacroPath )
  38. activeBreadboard. unlockWindowUpdate()
  39.  
  40. activeBreadboard. select ( NULL , FALSE )
  41.  
  42. control. setExemplars ( 100 )
  43. control. setEpochs ( 30 )
  44.  
  45. NextMacroPath = macro. pathFromMacro ( "Principal component analysis.nsm" )
  46. nextButton. setMacroPath ( NextMacroPath )
  47. SubtitleIndex = subtitleTextBox. setTextFromFile (TextBoxPath, SubtitleIndex)
  48. MainIndex = mainTextBox. setTextFromFile (TextBoxPath, MainIndex)
  49.